# from ronglian_sms_sdk import SmsSDK
from libs.python_sms_sdk.ronglian_sms_sdk import SmsSDK

accId = '8aaf07087955b4b501797e50ae420f74'
accToken = 'e0a869ef40f24bd5b9ed23419d37f349'
appId = '8aaf07087955b4b501797e50af190f7a'


def send_message(mobile, sms_code):
    sdk = SmsSDK(accId, accToken, appId)
    tid = '1'
    mobile = mobile
    datas = (sms_code, '5')
    resp = sdk.sendMessage(tid, mobile, datas)
    print(resp)

# send_message()
